package cn.thornbird.orgsync.exception;

import org.springframework.http.HttpStatus;

public class ForbiddenException extends HttpException {

    private static final long serialVersionUID = 6191292588633915353L;

    public ForbiddenException() {
        super(HttpStatus.FORBIDDEN.getReasonPhrase());
        statusCode = HttpStatus.FORBIDDEN.value();
    }

    public ForbiddenException(String message) {
        super(message);
        statusCode = HttpStatus.FORBIDDEN.value();
    }

}
